package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcCsunCameraWebRtc;
import com.csun.cmny.provider.model.domain.DmcDevice;
import com.csun.cmny.provider.model.dto.webrtc.WebRtcClientQueryDto;
import com.csun.cmny.provider.model.vo.webrtc.WebRtcClientVo;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcCsunCameraWebRtcMapper extends Mapper<DmcCsunCameraWebRtc> {

    /**
     * query list with page
     *
     * @param webRtcClientQueryDto  the web rtc client query dto
     *
     * @return
     */
    List<WebRtcClientVo> queryListWithPage(WebRtcClientQueryDto webRtcClientQueryDto);

    /**
     * select csun camera web rtc by device id
     *
     * @param deviceId
     *
     * @return
     */
    DmcCsunCameraWebRtc selectByDeviceId(Long deviceId);

    /**
     * query not bind camera list
     *
     * @return
     */
    List<DmcDevice> queryNotBindCameraList();
}